package com.powernode.spring6.service.Impl;

import com.powernode.spring6.dao.Impl.UserDaoImplForMysql;
import com.powernode.spring6.dao.Impl.UserDaoImplForOracle;
import com.powernode.spring6.dao.UserDao;
import com.powernode.spring6.service.UserService;

/**
 * 业务层
 */
public class UserServiceImpl implements UserService {

    //private UserDao userDao = new UserDaoImplForMysql();
    //private UserDao userDao = new UserDaoImplForOracle();
    private UserDao userDao;

    public void deleteUser() {
        userDao.delete();
    }
}
